﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace HQPad.Models
{
    public class PointsTable
    {
        public int PointsTableID { get; set; }

        [Required(ErrorMessage = "A race name is required")]
        [MaxLength(20, ErrorMessage = "The race name is limited to 20 characters")]
        public string Race { get; set; }

        [Required(ErrorMessage = "A class name is required")]
        [MaxLength(20, ErrorMessage = "The class name is limited to 20 characters")]
        [RegularExpression("Warrior|Mage|Acolyte|Scout|Monk|Barbarian")]
        public string Class { get; set; }

        public int RuleSetID { get; set; }
    }
}